package com.mathlearning.auth.dto.problem;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseResponse {
    private Long id;
    private String name;
    private String icon;
    private Integer totalProblems;
    private List<ChapterInfo> chapters;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class ChapterInfo {
        private Long id;
        private String name;
        private Integer problemCount;
    }
}








